What is the meaning of the word "bail out"?

Definitions:

  1. to free on bail copy to clipboard verb
    • I agreed to bail out my cousin. copy to clipboard
  2. to remove water from a boat by dipping and throwing over the side copy to clipboard verb
    • We were quickly trying to bail out the boat before it sank. copy to clipboard

Synonyms: